﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HR.ProjectX.Models.Entities.Bookings
{
    public class BookingStatus : EntityBase<int>
    {
        public virtual string BookingStatusDescription { get; set; }

        protected override void Validate()
        {
            if (string.IsNullOrEmpty(BookingStatusDescription))
            {
                throw new InvalidOperationException("BookingStatusDescription cannot be empty.");
            }
        }
    }
}
